package com.zp.system.entity.bo;

import com.zp.common.core.entity.BaseEntity;
import com.zp.common.core.validate.AddGroup;
import com.zp.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotBlank;

/**
 * 科室分组与用户对照业务对象
 *
 * @author zhang peng
 * @date 2022-12-19
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class SysOrgGroupVsUserBo extends BaseEntity {

    /**
     * 科室分组id
     */
    @NotBlank(message = "科室分组id不能为空", groups = {AddGroup.class, EditGroup.class})
    private String deptGroupId;

    /**
     * 用户id
     */
    @NotBlank(message = "用户id不能为空", groups = {AddGroup.class, EditGroup.class})
    private String userId;


}
